package com.hdax.auth.feign;


import com.hdax.auth.vo.UserLoginVo;
import com.hdax.auth.vo.UserRegistVo;
import com.hdax.common.exception.BizCodeEnume;
import com.hdax.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("gulimall-member")
public interface MemberFeignService {
     @PostMapping("/member/member/regist")
     R regist(@RequestBody UserRegistVo memberRegistVo);

     @PostMapping("/member/member/login")
     R login(@RequestBody UserLoginVo memberLoginVo);
}
